package com.theyeasy.dvmini.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
 

@Controller
@RequestMapping("/")
public class PosterController extends BaseController{
	
    
    @RequestMapping("/templetIndex")
    public ModelAndView templetIndex(){
        ModelAndView mv = new ModelAndView("/pc/templetIndex");
        return mv;
    }
    
    @RequestMapping("/templetEdit")
    public ModelAndView templetEdit(){
        ModelAndView mv = new ModelAndView("/pc/templetEdit");
        return mv;
    }
    
    //模板列表
    @RequestMapping(value = "/templetList")
    @ResponseBody
    public Object templetList() {
        
        return null;
    }
    
    //添加模板
    @RequestMapping(value = "/addtemplet")
    @ResponseBody
    public Object addtemplet(String name,String imgurl,int x,int y,int width,int height,int posttype) {
        
        return null;
    }
    
    //修改模板
    @RequestMapping(value = "/updatetemplet")
    @ResponseBody
    public Object updatetemplet(Integer id,String name,String imgurl,int x,int y,int width,int height,int posttype) {
        
        return null;
    }
    
    //删除模板
    @RequestMapping(value = "/deletetemplet")
    @ResponseBody
    public Object deletetemplet(Integer id) {
        
        return null;
    }
    
}